xl: extend autoballoon xl.conf option with an "auto" option
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 4 Apr 2013 17:21:12 +0000 (17:21 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 8 Apr 2013 16:04:52 +0000 (17:04 +0100)
commit48f4af18b3e1e36bf0eda793455ecaea9a316c65
tree556900b9852da7b71432178ef968b81b65c0d660
parentb4932b39319229291ff019ba23cab465988e02d8
xl: extend autoballoon xl.conf option with an "auto" option

autoballoon=1 is not recommened if dom0_mem was used to reduce the
amount of dom0 memory.  Instead of requiring users to change xl.conf
if they do this, extend the autoballoon option with a new choice:
"auto".

With autoballoon="auto", autoballooning will be disabled if dom0_mem
was used on the Xen command line.

For consistency, accept "on" and "off" as valid autoballoon options (1
and 0 are still accepted).

The default remains "on" for now.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
docs/man/xl.conf.pod.5
tools/examples/xl.conf
tools/libxl/xl.c